package com.ssy.lingxi.search.common;

/**
 * 排序方式
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/29
 */
public enum SortTypeEnum {
    SoldDown(1, "销量从高到低"),
    CreditDown(2, "信用从高到低"),
    PriceDown(3, "价格从高到低"),
    PriceUp(4, "价格从低到高");

    private final Integer code;
    private final String message;

    SortTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
